﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_TimKiemSPmoi.aspx.cs" Inherits="GiaoDien.Admin.WebForm1" Title="Untitled Page" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TuaDe" runat="server">
    Tìm kiếm  
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p>
    <asp:DropDownList ID="drDanhMuc" runat="server" 
        Width="200px" TabIndex="1">
    </asp:DropDownList>
    <asp:Button ID="btnTimKiem" runat="server" Text="Tìm kiếm sản phẩm" 
        onclick="btnTimKiem_Click" />
</p>

    <table style="width: 100%">
        <tr>
            <td>

<asp:DataList ID="DataList1" runat="server" HorizontalAlign="Left" 
    RepeatDirection="Horizontal" RepeatLayout="Flow">
<ItemTemplate>
    <div class="product_box margin_r20">

        <a href="DetailSanPham.aspx?MaSP=<%# Eval("MaSanPham") %>"><img src="http://hc10-em11-ncc.somee.com/Webservice_NCC/images/<%# Eval("HinhAnh") %>" alt="Golden Bell" width="120" height="165" /></a>
      <h3>
          <asp:Label ID="Label2" runat="server" Text='<%# Eval("TenSanPham") %>' Height="30px"></asp:Label></h3>
        
        <p class="price">Giá mua : <span>
              <asp:Label ID="Label1" runat="server" Text='<%# Eval("GiaBanSanPham") %>'></asp:Label> 
            VNĐ</span></p>
         <p class="price">Số lượng cung cấp tối đa :
              <asp:Label ID="Label3" runat="server" Text='<%# Eval("SoLuongCungCapToiDa") %>'></asp:Label> 
          </p>
        <p class="price">Số lượng cung cấp tối thiểu :
          <asp:Label ID="Label4" runat="server" Text='<%# Eval("SoLuongCungCapToiThieu") %>'></asp:Label> 
         </p>
    <a href="Admin_DetailSanPham.aspx?MaSP=<%# Eval("MaSanPham") %>" class="detail">Chi 
        tiết</a>
        
      <div class="cleaner"></div>
    </div>
</ItemTemplate>
</asp:DataList>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="divPhanTrang" runat="server">

    <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="« Trước" FirstText="– Đầu" LabelText="Trang:" LastText="Cuối" NextText="Sau »" ResultsFormat="Kết quả từ {0}-{1} " ShowFirstLast="True" SliderSize="5" PagingMode="PostBack">
    </cc1:CollectionPager>

</asp:Content>
